<template>
  <div class="goods-list">
    <goods-item v-for="(item, index) in goods" :key="index" :goods-item="item"/>
  </div>
</template>
<script>
import GoodsItem from 'components/context/goods/GoodsItem.vue'
export default {
    name:'GoodsList',
  props:{
    goods:{
      type: Array,
      default: () => []
    }
  },
  components:{
    GoodsItem
  }
}
</script>
<style lang="less" scoped>
.goods-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 2px;
  box-sizing: content-box;
}
</style>